﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;
using System.Runtime.Serialization;

namespace DTO
{
	[DataContract]
	public class Cartdetail {
		public const String c_id = "id";
		private Int64 m_id;
		[DataMember]
		public Int64  id { 
			 get {return m_id;} 
			 set { m_id = value; } 
		}

		public const String c_cartId = "cartId";
		private Int64 m_cartId;
		[DataMember]
		public Int64  cartId { 
			 get {return m_cartId;} 
			 set { m_cartId = value; } 
		}

		public const String c_productId = "productId";
		private Int32 m_productId;
		[DataMember]
		public Int32  productId { 
			 get {return m_productId;} 
			 set { m_productId = value; } 
		}

		public const String c_quality = "quality";
		private Int32 m_quality;
		[DataMember]
		public Int32  quality { 
			 get {return m_quality;} 
			 set { m_quality = value; } 
		}

		public const String c_unitPriceUSD = "unitPriceUSD";
		private Decimal m_unitPriceUSD;
		[DataMember]
		public Decimal  unitPriceUSD { 
			 get {return m_unitPriceUSD;} 
			 set { m_unitPriceUSD = value; } 
		}

		public const String c_rate = "rate";
		private Decimal m_rate;
		[DataMember]
		public Decimal  rate { 
			 get {return m_rate;} 
			 set { m_rate = value; } 
		}

		public const String c_unitPriceVND = "unitPriceVND";
		private Decimal m_unitPriceVND;
		[DataMember]
		public Decimal  unitPriceVND { 
			 get {return m_unitPriceVND;} 
			 set { m_unitPriceVND = value; } 
		}

		public const String c_discount = "discount";
		private Decimal m_discount;
		[DataMember]
		public Decimal  discount { 
			 get {return m_discount;} 
			 set { m_discount = value; } 
		}

		public const String c_cash = "cash";
		private Decimal m_cash;
		[DataMember]
		public Decimal  cash { 
			 get {return m_cash;} 
			 set { m_cash = value; } 
		}

		public const String c_orderId = "orderId";
		private Int32 m_orderId;
		[DataMember]
		public Int32  orderId { 
			 get {return m_orderId;} 
			 set { m_orderId = value; } 
		}

        private String m_productName = "";
        [DataMember]
        public String productName
        {
            get { return this.m_productName; }
            set { this.m_productName = value; }
        }
		public const String b_Cartdetail = "Cartdetail";

	}

 }
